USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 ' \
             'Safari/537.36'
HEADERS = {'User-Agent': USER_AGENT}

# asctime:发生时间
# levelname:日志等级
# message:日志信息
# filename:发生异常的文件
# lineno:发生异常的代码行数
LOG_FORMAT = "%(asctime)s - %(levelname)s - %(message)s"
DATE_FORMAT = "%m/%d/%Y %H:%M:%S %p"

ERROR_FORMAT = '%(asctime)s - %(levelname)s - %(filename)s[:%(lineno)d] - %(message)s'
